package net.lee.springbootvertx.controller;

import io.vertx.rxjava.ext.web.RoutingContext;
import net.lee.springbootvertx.vertx.request.Controller;
import net.lee.springbootvertx.vertx.request.RequestMapping;
import org.springframework.stereotype.Component;

@Component
@RequestMapping("/data")
@Controller
public class HelloController {


    @RequestMapping("/info")
    public void getResult(RoutingContext routingContext)
    {
          routingContext.response().end("hello world");
    }
}
